import java.util.HashMap;
import java.util.Map;

/**
 * @Auther: MFM
 * @Date: 2021/11/28 - 11 - 28 - 14:13
 * @version: 1.0
 */

public class kaoshi {
    public static void main(String[] args) {
        int count = 0;
        for (int i = 101; i < 200; i++) {
            boolean flag = false;

            for (int j = 2; j <= i - 1; j++) {
                if (i % j == 0) {
                    flag = false;
                    break;
                } else {
                    flag = true;
                }
            }

            if (flag == true) {
                count++;
                System.out.println(i);
            }
        }
        System.out.println("一共有" + count + "个素数");
    }
}
